Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add more lints #70

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

chore: Add more lints #70

wants to merge 6 commits into from

Conversation

larseggert
Copy link
Collaborator

Same as neqo.

Same as neqo.
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

Attention: Patch coverage is 94.33962% with 3 lines in your changes missing coverage. Please review.

Project coverage is 86.71%. Comparing base (9cd37ac) to head (6d90eeb).

Files with missing lines Patch % Lines
src/bsd.rs 95.00% 0 Missing and 1 partial ⚠️
src/linux.rs 96.29% 0 Missing and 1 partial ⚠️
src/routesocket.rs 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #70      +/-   ##
==========================================
+ Coverage   86.46%   86.71%   +0.25%     
==========================================
  Files           5        5              
  Lines         554      557       +3     
  Branches      554      557       +3     
==========================================
+ Hits          479      483       +4     
- Misses         47       48       +1     
+ Partials       28       26       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@larseggert larseggert marked this pull request as ready for review January 14, 2025 15:25
build.rs Outdated
Comment on lines 73 to 74
let out_path = std::path::PathBuf::from(std::env::var("OUT_DIR").unwrap()).join(BINDINGS);
let out_path =
std::path::PathBuf::from(std::env::var("OUT_DIR").unwrap_or_default()).join(BINDINGS);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If OUT_DIR isn't set, this would write to ./bindings.rs?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. A panic is probably better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants